package us.gaaoc.framework.webapp.util;

import java.awt.image.BufferedImage;
import java.io.IOException;

/**
 * Interface which creates a buffered image out of the given PDF filename or PDF byte contents.
 * 
 * @author artripa
 *
 */
public interface BufferedImageCreator {

	public BufferedImage createBufferedImage(String filename) throws IOException;
	public BufferedImage createBufferedImage(byte[] contents) throws IOException;
}
